<?php defined('SYSPATH') OR die('No direct access allowed.');
$base = url::base();
?>
<!-- BEGIN LOGIN FORM -->
<form action="<?=$base.Router::uri('auth', array('method'=>'login'))?>" method="POST" class="loginform">
<h3><?=Kohana::lang('auth.login.title')?></h3>
<?message::render()?>
<ol>
  <li>
		<label for="username" class="title"><?=Kohana::lang('auth.login.username')?></label>
		<input type="text" name="username" size="40" maxlength="127" value="<?=message::custom('username')?>" tabindex="1">
	</li>
  <li>
		<label for="password" class="title"><?=Kohana::lang('auth.login.password')?> <?=html::anchor(Router::uri('auth', array('method'=>'pass_recovery')), Kohana::lang('auth.login.forgot_password'), array('class' => 'service_link'))?></label>
		<input type="password" name="password" size="40" maxlength="127"  tabindex="2">
	</li>
  <li>
		<input type="submit" value="<?=Kohana::lang('auth.login.submit')?>"  tabindex="4"/>
		<label class="param">
			<input type="checkbox" name="remember" value="1"  tabindex="3"/><?=Kohana::lang('auth.login.remember')?>
		</label>
	</li>
  <li class="hint">
		Впервые на сайте? <a class="service_link" href="<?=$base.Router::uri('auth', array('method'=>'register'))?>"><?=Kohana::lang('auth.login.register')?></a>
	</li>
</ol>
</form>
<!-- END LOGIN FORM -->
